package com.mfangsoft.zhuangjialong.integration.cardmanage.mapper;

import java.util.List;

import com.mfangsoft.zhuangjialong.common.model.Page;
import com.mfangsoft.zhuangjialong.common.utils.stereotype.WriterRepository;
import com.mfangsoft.zhuangjialong.integration.cardmanage.model.BaseCardConversion;
import com.mfangsoft.zhuangjialong.integration.cardmanage.model.BaseCardManage;
import com.mfangsoft.zhuangjialong.integration.cardmanage.model.BaseCardShop;
@WriterRepository
public interface BaseCardManageMapper {
    /**
     * 通过主键删除  
     *
     * @MLTH_generated
     */
    int deleteByPrimaryKey(Integer id);

    /**
     * 插入数据  
     *
     * @MLTH_generated
     */
    int insert(BaseCardManage record);

    int insertSelective(BaseCardManage record);
    
    void addCardManage(BaseCardManage baseCardManage);

    /**
     * 通过主键查询数据 
     *
     * @MLTH_generated
     */
    BaseCardManage selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(BaseCardManage record);

    /**
     * 通过主键更新数据  
     *
     * @MLTH_generated
     */
    int updateByPrimaryKey(BaseCardManage record);

	List<BaseCardManage> selectBaseCardManagePage(Page<BaseCardManage> page);

	void addCardShop(BaseCardShop baseCardShop);

	void addCardConversion(BaseCardConversion baseCardConversion);

	void updateCardConversion(BaseCardConversion baseCardConversion);

	List<BaseCardConversion> selectCardConversionPage(Page<BaseCardConversion> page);

	BaseCardManage selectCardManageOne(int id);

	void updateCardManageOne(BaseCardManage baseCardManage);

	void deleteCardManage(int id);

	int selectCardConversion(BaseCardConversion cc);

	
}